<?php 
define('PAGE_NEED_PRI','PRI_ADMIN');
session_start();
include("main.php");
include("blog-main-edit-function.php");
?>

<?php
		$webname = 'news';
		
		 $title= isset($_GET["title"])?make_safe($_GET["title"]):'';
		 $isok= isset($_GET["isok"])?make_safe($_GET["isok"]):'';
		 $BigClassName= isset($_GET["BigClassName"])?make_safe($_GET["BigClassName"]):'';
		 $BigClassName2=isset($_GET["BigClassName2"])?make_safe($_GET["BigClassName2"]):'';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title> Bios 管理中心 </title>
<link href="../css/control2.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery-1.5.2.min.js"  language="javascript" ></script>
<script src="uploadify/swfobject.js"  language="javascript" ></script>
<script src="uploadify/jquery.uploadify.v2.1.4.min.js"  language="javascript" ></script>
<link href="uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<script language="javascript">
$(function(){
					$("#fhome").uploadify({
						'uploader': 'uploadify/uploadify.swf',
						'cancelImg': 'uploadify/cancel.png',
						'script': 'upload2.php',
						'folder': 'files',
						'buttonText':'Choose',
						'multi': false,
						'fileExt':'*.swf',
  						'fileDesc':'Image Files',
						'auto': true,
						'queueSizeLimit':1,
						'scriptData':{'<?php echo session_name();?>':'<?php echo session_id();?>','savename':'Bios_Home.swf'},
						'displayData': 'speed',
						'onComplete':function(event,queueID,fileObj,response,data){
							if(response == "ok")
								alert("上傳主視覺動畫flash成功");
							else
								alert("error");
						},
						'onError':function(event,queueId,fileObj,errorObj){
							alert(errorObj);
						}
					});
					
					
						$("#fbokeh").uploadify({
						'uploader': 'uploadify/uploadify.swf',
						'cancelImg': 'uploadify/cancel.png',
						'script': 'upload2.php',
						'folder': 'files',
						'buttonText':'Choose',
						'multi': false,
						'fileExt':'*.f4v',
  						'fileDesc':'Image Files',
						'auto': true,
						'queueSizeLimit':1,
						'scriptData':{'<?php echo session_name();?>':'<?php echo session_id();?>','savename':'Bokeh.f4v'},
						'displayData': 'speed',
						'onComplete':function(event,queueID,fileObj,response,data){
								if(response == "ok")
								alert("上傳背景影片flash成功");
							else
								alert("error");
						},
						'onError':function(event,queueId,fileObj,errorObj){
							alert(errorObj);
						}
					});
});
</script>
</head>

<body>

<div id="all"><!--Wrap start //-->
<div id="main" class="clearfix"><!--main start //-->
 <?php include_once('top_btn.php');?>
<?php include_once('blog_main_btn.php');?>

<form method="get">
<div><!--search begin //-->
<ul>
	<li>搜尋:&nbsp;<input name="title" size="50" value="<?php echo $_REQUEST['title'];?>"/>&nbsp;<input type="submit"/></li>
</ul>
</div><!--search end //-->
</form>


  <div id="contact"><!--start contact //-->
  <div class="contact-line">
    <div class="contact-line">
      <h3>首頁更新管理：</h3>
      <div>首頁主視覺動畫：<input name="fhome" id="fhome" class="uploadifyupload" type="file" /><br />
更新的檔名為：Bios_Home.swf（ 上傳資料夾flash ）
</div>

      <div style="padding-top:10px;">背景影片：<input name="fbokeh" id="fbokeh" class="uploadifyupload" type="file" /><br />
更新的檔名為：Bokeh.f4v（ 上傳資料夾flash ）</div>
		
		
	
    </div>
  </div><!--end contact //-->
</div><!-- main end //-->
</div><!--Wrap end //-->
<div id="botton">
<?php include_once('botton_btn.php');?>
</div>
</body>
</html>
